#! /usr/bin/env python
# -*- coding: utf-8 -*-

# Copyright (c) Huoty, All rights reserved
# Author: Huoty <sudohuoty@gmail.com>
# CreateTime: 2018-10-08 10:22:42

import random


def random_num():
    while 1:
        yield random.randint(1, 100)


num_generator = random_num()
print(next(num_generator))
print(next(num_generator))
print(next(num_generator))
